<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
	<base th:href="@{/}">
	<meta charset="utf-8">
	<title></title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="format-detection" content="telephone=no">
	<link rel="stylesheet" href="static/layui/css/layui.css" media="all" />
	<script type="text/javascript" src="static/plugin/jquery/jquery-1.4.4.min.js"></script>
	<script type="text/javascript" src="static/layui/layui.js"></script>
	<script type="text/javascript" src="static/js/common/reportTemplet.js"></script>
	<script type="text/javascript" src="static/js/sale_order/index.js"></script>
</head>
<body class="layui-fluid">

	<div style="padding: 10px; background-color: #F2F2F2; height: 97%;">
		<div class="layui-card">
			<div class="layui-card-header">销售订单列表</div>
			<div class="layui-row" style="margin-left: 15px;">
				<div id="findMsg" >查询条件：</div>
			</div>
			<hr>
			<div class="layui-tab layui-fluid" lay-filter="test-hash">
				<ul class="layui-tab-title">
					<li lay-id="pricing" class="layui-this" >未定价</li>
					<li lay-id="settlement">未结算</li>
					<li lay-id="processed">已处理</li>
					<li lay-id="close">已关闭</li>
				</ul>
				<div class="layui-tab-content layui-fluid">
					<div class="layui-tab-item layui-show ">
						<table id="table" class="layui-table" lay-filter="table"></table>
					</div>
				</div>
			</div>
		</div>
	</div>

	<script type="text/html" id="customer">
		<select lay-search>
			<option value=""></option>
			<option th:each="c:${customer}" th:value="${c.code}" th:text="${c.name}"></option>
		</select>
	</script>

	<script type="text/html" id="fixStatus">
		<select lay-search>
			<option value=""></option>
			<option value="1">已定价</option>
			<option value="0">未定价</option>
		</select>
	</script>

	<script type="text/html" id="status">
		<select lay-search>
			<option value=""></option>
			<option value="1">已结算</option>
			<option value="0">未结算</option>
		</select>
	</script>
<!--	<script type="text/html" id="barRight">-->
<!--		{{# let custom = d.custom;let fixStatus = d.fixStatus;let status = d.status; }}-->
<!--		{{# if(custom && !fixStatus && !status){         }}-->
<!--		<a class="layui-btn layui-btn-sm" lay-event="upd">编辑</a>-->
<!--		{{# } }}-->
<!--	</script>-->
	<script type="text/html" id="tableToolbar">
		<div class="layui-inline" shiro:hasPermission="btn:sale_add">
			<button class="layui-btn layui-btn-sm" lay-event="add">新增</button>
		</div>
		<div class="layui-inline" shiro:hasPermission="btn:sale_fix">
			<button class="layui-btn layui-btn-sm" lay-event="fix"><i class="layui-icon">&#xe65e;</i>定价</button>
		</div>
		<div class="layui-inline" shiro:hasPermission="btn:sale_close">
			<button class="layui-btn layui-btn-sm layui-bg-red" lay-event="close"><i class="layui-icon">&#xe693;</i>关闭</button>
		</div>
		<div class="layui-inline" shiro:hasPermission="btn:sale_initial_download">
			<button class="layui-btn layui-btn-sm" lay-event="download"><i class="layui-icon">&#xe601;</i>期初模版导出</button>
		</div>
		<div class="layui-inline" shiro:hasPermission="btn:sale_initial_upload">
			<button class="layui-btn layui-btn-sm" lay-event="upload"><i class="layui-icon">&#xe681;</i>期初导入</button>
		</div>
		<button type="button" lay-event="find"
			class="layui-btn layui-btn-primary layui-btn-sm">
			<i class="layui-icon">&#xe615;</i> 查询
		</button>
	</script>
</body>
</html>